
package es.mimuu.generator.util;

import sculptormetamodel.RepositoryOperation;

public interface GenericAccessObjectStrategy {
    
    /**
     * Add default return type and parameters to the operation. 
     * @param operation the operation to modify
     */
    public void addDefaultValues(RepositoryOperation operation);

    /**
     * Specify if the constructor of the AccessObject implementation
     * takes the class of the persistent object as parameter.
     */
    public boolean isPersistentClassConstructor();

    /**
     * Specify the generic type litteral for the AccessObject 
     */
    public String getGenericType(RepositoryOperation op);

}
